package top.coolrainly.module.pb.controller.admin.organization.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 党组织信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrganizationRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "28284")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "上级组织编号", example = "29554")
    @ExcelProperty("上级组织编号")
    private Long parentId;

    @Schema(description = "组织名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("组织名称")
    private String name;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}